home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Math Visin v2.1 disk 2.adf / README / Hooks.doc < prev    next >
Text File  |  1992-02-14  |  2KB  |  59 lines

  1.  
  2.   ======================================================================
  3.  
  4.                            HOOKS DOCUMENT
  5.  
  6.   ======================================================================
  7.  
  8.     To use a hook simply double click on its icon AFTER the MathVISION
  9.   program is running.  The hook will start up as a task and rendezvous
  10.   with the MathVISION program and make the new features it supports
  11.   available to MathVISION.
  12.  
  13.     An easy example is the Mandelbrot hook in the Misc drawer in the
  14.   Hooks drawer in the MathVISION.ffp or MathVISION.ieee drawer on these
  15.   respective disks.
  16.  
  17.      1.  Start MathVISION.
  18.      2.  Double click the Mandelbrot hook icon.
  19.      3.  Check out the Divide and Conquer item in the hooks menu.
  20.          This item was inserted by the hook.  Try plotting with
  21.          Divide and Conquer on one of your favorite contour type 
  22.          plots.
  23.  
  24.     Hooks can be started using the run command from CLI.  Hooks exist
  25.   as tasks separate from MathVISION and separate from each other.
  26.  
  27.     For advanced users we have included below the sample script for 
  28.   loading hooks after MathVISION has been started.  MathVISION should 
  29.   always be started with the Run_MathVISION.ffp or Run_MathVISION.ieee 
  30.   icon, as this will execute the startup script that sets the stack size 
  31.   and does assigns for you after installation on a hard disk.  Starting
  32.   MathVISION this way will also make it easy for you to include
  33.   your own startup information in the script file.
  34.  
  35.   ====================================================================
  36.  
  37.        The following is a sample script.  LoadHooks contains
  38.   a more complete and more advanced version of this script
  39.   file which the user should feel free to edit.
  40.  
  41.   ====================================================================
  42.  
  43.   Run <NIL: >NIL:  MathVISION.ieee/IEEE.Hooks/Misc/Axes
  44.   Wait 2
  45.  
  46.   Run <NIL: >NIL:  MathVISION.ieee/IEEE.Hooks/Misc/Sound
  47.   Wait 10
  48.  
  49.   Run <NIL: >NIL:  MathVISION.ieee/IEEE.Hooks/Misc/Mandelbrot
  50.   Wait 2
  51.  
  52.   =======================================================================
  53.  
  54.   The Wait command makes the loading faster since it reduces contention
  55.   for the disk.  The redirection commands <NIL: and >NIL: are optional
  56.   but inform the system that the ICONX window is not required for
  57.   input or output.
  58.  
  59.